package com.yike.product.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yike.product.entity.GoodsBrand;
import com.yike.product.param.GoodsBrandPageParam;

import com.yike.product.vo.GoodsBrandVo;
import org.apache.ibatis.annotations.Mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

/**
 * 商品品牌 Mapper 接口
 *
 * @author Sakura
 * @since 2024-10-18
 */
@Mapper
public interface GoodsBrandMapper extends BaseMapper<GoodsBrand> {

    GoodsBrandVo getGoodsBrandVo(@Param("id") Long id);

    IPage<GoodsBrandVo> getGoodsBrandList(@Param("page") Page page, @Param("param") GoodsBrandPageParam param);


}
